package top.malaoshi.mapper;

import org.apache.ibatis.annotations.Mapper;
import top.malaoshi.entity.Comment;

import java.util.List;

@Mapper
public interface ICommentMapper {
/*
    public List<Comment> queryByPhone(String phone);

    public List<Comment> queryByGoodsid(String goodsid);

    public int insert(Comment um);

    public int deleteByPhone(Comment um);*/
    public int add(Comment comment);
    public List<Comment> mgrQuery(String userId);

    public List<Comment> queryByGoodsId(String goodsId);
}
